<template>
  <div class="app-statistic-count">
    <el-row :gutter="16">
      <el-col :span="12" v-for="(iten, index) in statistics" :key="index">
        <StatisticItem :info="iten" />
      </el-col>
    </el-row>
  </div>
</template>

<script>
import StatisticItem from "./statisticItem.vue";
export default {
  name: "AppStatisticCount",
  components: {
    StatisticItem,
  },
  data() {
    return {
      statistics: [
        { type: "user", message: "用户总数量" },
        { type: "product", message: "商品总数量" },
      ],
    };
  },
};
</script>

<style lang="scss" scoped></style>
